package com.huaxin.hxmoduleworkorder.models;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@TableName("inspection_template_item_rel")
@EqualsAndHashCode(callSuper = true)
public class InspectionTemplateItemRel extends BaseModel {

    @TableField(value = "template_id")
    @Schema(description = "模板ID", example = "tpl_ins_001")
    private String templateId;

    @TableField(value = "template_item_id")
    @Schema(description = "模板项ID", example = "item_001")
    private String templateItemId;

    @TableField(value = "electrical_cabinet_type")
    @Schema(description = "配电箱类型")
    private String cabinetType;

    @TableField(value = "sort_order")
    @Schema(description = "在该模板中的排序", example = "1")
    private Integer sortOrder;
}